package com.ieng.ormosia.connect.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 用户表
 */
@ApiModel(value = "com-ieng-ormosia-connect-model-User")
@Data
public class User implements Serializable {
	/**
	 * 主键
	 */
	@ApiModelProperty(value = "主键")
	private Long id;

	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "用户名")
	private String username;

	/**
	 * 密码
	 */
	@ApiModelProperty(value = "密码")
	private String password;

	/**
	 * 盐
	 */
	@ApiModelProperty(value = "盐")
	private String salt;

	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱")
	private String email;

	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "手机号")
	private String phone;

	/**
	 * 头像
	 */
	@ApiModelProperty(value = "头像")
	private String avatar;

	/**
	 * 昵称
	 */
	@ApiModelProperty(value = "昵称")
	private String nickname;

	/**
	 * 真实姓名
	 */
	@ApiModelProperty(value = "真实姓名")
	private String fullname;

	/**
	 * 性别-#1:男2:女
	 */
	@ApiModelProperty(value = "性别-#1:男2:女")
	private String sex;

	/**
	 * 生日
	 */
	@ApiModelProperty(value = "生日")
	private LocalDate birthday;

	/**
	 * 联系方式
	 */
	@ApiModelProperty(value = "联系方式")
	private String contact;

	/**
	 * 专业
	 */
	@ApiModelProperty(value = "专业")
	private String major;

	/**
	 * 领域
	 */
	@ApiModelProperty(value = "领域")
	private String domain;

	/**
	 * 名言
	 */
	@ApiModelProperty(value = "名言")
	private String wisdom;

	/**
	 * 个人介绍
	 */
	@ApiModelProperty(value = "个人介绍")
	private String resume;

	/**
	 * 状态-#1:正常#0:禁用
	 */
	@ApiModelProperty(value = "状态-#1:正常#0:禁用")
	private String status;

	/**
	 * 禁用信息
	 */
	@ApiModelProperty(value = "禁用信息")
	private String reason;

	/**
	 * 创建者
	 */
	@ApiModelProperty(value = "创建者")
	private String createBy;

	/**
	 * 更新者
	 */
	@ApiModelProperty(value = "更新者")
	private String changeBy;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间")
	private LocalDateTime changeTime;

	/**
	 * 逻辑删除-#0:未删除#1:删除
	 */
	@ApiModelProperty(value = "逻辑删除-#0:未删除#1:删除")
	private String deleted;

	private static final long serialVersionUID = 1L;
}